package com.ddd.interfaces.sales.facade.dto;


import java.time.LocalDate;

public class SalesProductDto   {


    /**
     * 商品id
     */
    private  String skuId;
    /**
     * 通用名
     */
    private  String commonName;
    /**
     * 批号
     */
    private  String batchNo;
    /**
     * 生产日期
     */
    private  LocalDate productionDate;

    /**
     * 有效期至
     */
    private  LocalDate expiryDate;

    public SalesProductDto(String skuId, String commonName, String batchNo, LocalDate productionDate, LocalDate expiryDate) {
        this.skuId = skuId;
        this.commonName = commonName;
        this.batchNo = batchNo;
        this.productionDate = productionDate;
        this.expiryDate = expiryDate;
    }

    public String getSkuId() {
        return skuId;
    }

    public void setSkuId(String skuId) {
        this.skuId = skuId;
    }

    public String getCommonName() {
        return commonName;
    }

    public void setCommonName(String commonName) {
        this.commonName = commonName;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public LocalDate getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(LocalDate productionDate) {
        this.productionDate = productionDate;
    }

    public LocalDate getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(LocalDate expiryDate) {
        this.expiryDate = expiryDate;
    }
}
